home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
mcode_01
/
source
/
basics
/
getchar2.s
< prev
next >
Wrap
Text File
|
1995-04-27
|
458b
|
14 lines
* Program : Read a character in from the keyboard without echo to screen
* Author : Stephen McNabb
* Creation date : 15th February 1995
* Last update : 15th February 1995
* Parameters : None
* Output : Charcters scan code and ASCII code in d0
* Low-order byte of d0 - ASCII code
* Upper word of d0 - scan code
start: move.w #7,-(sp) /use Crawcin() function
trap #1 /use gemdos
end: addq.l #2,sp /tidy up stack
*** End of file ***